package myMapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;

public interface orderMapper {

//	向订单表中插入新订单
	@Insert("INSERT INTO tb_order VALUES(#{username},#{product_id},#{size},#{order_time},#{order_close_time},#{stage})")
	public void insertIntoOrder(@Param("username")String username,@Param("product_id")int product_id,@Param("size")String size,@Param("order_time")String order_time,@Param("order_close_time")String order_close_time,@Param("stage")String stage);
	
}
